package com.example.administrator.myapplication;

import dagger.Module;
import dagger.Provides;

/**
 * Created by Administrator on 2017/6/6.
 */
@Module
public class SimpleModule {

    @Provides
    Cooker provideCooker(){
        return new Cooker("James","Espresso");
    }

    @Provides
    SimpleMaker provideSimpleMaker(){
        return new SimpleMaker();
    }

    @Provides
    CoffeeMachine provideCoffeeMachine(){
        return new CoffeeMachine();
    }
}